//
//  LIITableViewCell.m
//  YJSliderView
//
//  Created by 邓猛 on 2017/10/31.
//  Copyright © 2017年 Jake. All rights reserved.
//

#import "LIITableViewCell.h"
#import "LSActionSheet.h"
@implementation LIITableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (IBAction)TouchAction:(UIButton *)sender {
    [LSActionSheet showWithTitle:nil destructiveTitle:nil otherTitles:@[@"CCTV",@"铁岭TV"] block:^(int index) {
        UIAlertController *alert11 = [UIAlertController alertControllerWithTitle:nil message:nil preferredStyle:UIAlertControllerStyleAlert];
        if(index == 0){
            UIAlertAction *ca =  [UIAlertAction actionWithTitle:@"嗷呜" style:UIAlertActionStyleDefault handler:nil];
            [alert11 addAction:ca];
            NSLog(@"感谢CCTV");
        }else{
            UIAlertAction *sureQ = [UIAlertAction actionWithTitle:@"欧虎" style:UIAlertActionStyleDefault handler:nil];
            [alert11 addAction:sureQ];
            NSLog(@"感激铁岭TV");
        }
        [self.window.rootViewController presentViewController:alert11 animated:YES completion:nil];
    }];
}



- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
